package cn.edu.cug.cs.gtl.docsrv.txt.controller;

import cn.edu.cug.cs.gtl.mybatis.mapper.txt.TxtAll;

import java.util.List;
import java.util.Objects;

public class TxtAllList {

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof TxtAllList)) return false;
        TxtAllList that = (TxtAllList) o;
        return Objects.equals(getTxtAllList(), that.getTxtAllList());
    }

    @Override
    public int hashCode() {
        return Objects.hash(getTxtAllList());
    }

    private List<TxtAll> txtAllList;

    public List<TxtAll> getTxtAllList() {
        return txtAllList;
    }

    public void setTxtAllList(List<TxtAll> txtAllList) {
        this.txtAllList = txtAllList;
    }
}
